/*************************************************************************
        > File Name: 02.bit_clear.c
        > Author: icebear
        > Mail: 3322366195@qq.com
        > Created Time: Tue 18 Jul 2023 11:35:50 AM UTC
 ************************************************************************/

#include <stdio.h>
int main()
{
    int num = 0,bit=0;
    printf("input integer  number\n");
    scanf("%d",&num);
    printf("input the clear bit\n");
    scanf("%d",&bit);
    num&=~(1<<bit-1);
    printf("the new number = %d\n",num);
}
